﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace EvertonApp.Transporte
{
    [DataContract]
    public class Noticia : IPosteable
    {
        #region Implementation of IPosteable

        [DataMember]
        public Guid IdHilo { get; set; }
        [DataMember]
        public string Titulo { get; set; }
        [DataMember]
        public string Descripcion { get; set; }
        [DataMember]
        public Usuario CreadoPor { get; set; }
        [DataMember]
        public DateTime FechaCreacion { get; set; }
        [DataMember]
        public int NumeroComentarios { get; set; }
        [DataMember]
        public bool Editado { get; set; }
        [DataMember]
        public string Tipo
        {
            get { return "Noticia"; } 
            set { }
        }

        #endregion
    }
}
